home *** CD-ROM | disk | FTP | other *** search
- #include <Types.h>
- #include <string.h>
- #include <strings.h>
-
- class CString {
- protected:
- short len;
- Ptr str;
- public:
- inline CString () {len=0;str=nil;}
- CString (char *s);
- CString (CString& s);
- CString (CString *s);
- CString (long theNum);
- CString (char *s, char *s1);
- CString (const char *s, short theLen);
- ~CString ();
- friend CString operator +(const CString& s1, const CString& s2);
- void operator +=(const CString& s1);
- CString& operator =( const CString& s1);
- operator char* ();
- operator StringPtr ();
- operator Handle ();
- };